;------------------------------------------------------------------------------------------------
[wpn_ppsh41]:identity_immunities,weapon_probability,default_weapon_params,wpn_ppsh41_sounds
        GroupControlSection         = spawn_group
        $npc                        = on
        $prefetch                   = 8
        $spawn                      = "weapons\ppsh41"
        scheduled                   = off
        cform                       = skeleton
        
        class                       = WP_LR300
        slot                        = 2
        animation_slot              = 8
        ef_main_weapon_type         = 2
        ef_weapon_type              = 6
        hand_dependence             = 1
        single_handed               = 0
        
        default_to_ruck             = false
        sprint_allowed              = true
        
        inv_grid_height             = 2
        inv_grid_width              = 5
        inv_grid_x                  = 50
        inv_grid_y                  = 74
        inv_name                    = st_wpn_ppsh41
        inv_name_short              = st_wpn_ppsh41
        description                 = st_wpn_ppsh41_descr
        
        kind                        = w_rifle
        inv_weight                  = 3.64
        cost                        = 15840
        repair_type                 = pistol
        weapon_class                = assault_rifle
        
        hud                         = wpn_ppsh41_hud
        visual                      = dynamics\weapons\wpn_ppsh41\wpn_ppsh41.ogf
        position                    = -0.026, -0.175, -0.03
        orientation                 = 0, 0, 0
        fire_point                  = 0.0, 0.25, 0.570
        fire_point2                 = 0.0, 0.188, 0.392
        strap_bone0                 = bip01_spine2
        strap_bone1                 = bip01_spine1
        strap_position              = -0.2, -0.42, 0.05
        strap_orientation           = -10, -5, 10
        ph_mass                     = 3
        
        flame_particles             = weapons\generic_weapon03
        smoke_particles             = weapons\generic_shoot_00
        grenade_flame_particles     = weapons\generic_weapon01
        
		shell_point                 = 0.0, 0.188, 0.082
		;shell_particles            = weapons\generic_shells 
		shell_particles	 			= amik\weapons\data\9x18\9x18_2_r

        light_disabled              = false
        light_color                 = 0.6, 0.5, 0.3
        light_range                 = 5
        light_time                  = 0.2
        light_var_color             = 0.05
        light_var_range             = 0.5
        
        upgrades                    = up_gr_firstab_ppsh41, up_gr_seconab_ppsh41, up_gr_thirdab_ppsh41
        installed_upgrades          =
        upgrade_scheme              = upgrade_scheme_toz34
        upgr_icon_x                 = 1750
        upgr_icon_y                 = 1750
        upgr_icon_width             = 250
        upgr_icon_height            = 100
        
        fire_modes                  = 1, -1
        ammo_class                  = ammo_7.62x25_p, ammo_7.62x25_p_bad, ammo_7.62x25_p_verybad, ammo_7.62x25_ps, ammo_7.62x25_ps_bad, ammo_7.62x25_ps_verybad
        ammo_elapsed                = 71
        ammo_mag_size               = 71
        startup_ammo                = 90
        
        scope_status                = 0
        scope_name                  = wpn_addon_scope
        scope_x                     = 47
        scope_y                     = 0
        scope_zoom_factor           = 0
        
        silencer_name               = wpn_sil_9mm
        silencer_status             = 0
        silencer_x                  = 175
        silencer_y                  = -16
        silencer_light_color        = 0.6, 0.5, 0.3
        silencer_light_range        = 0.01
        silencer_light_time         = 0.2
        silencer_light_var_color    = 0.05
        silencer_light_var_range    = 0.5
        
        grenade_class               = ammo_vog-25, ammo_vog-25_bad, ammo_vog-25_verybad
        grenade_launcher_name       = wpn_addon_grenade_launcher
        grenade_launcher_status     = 0
        grenade_launcher_x          = 126
        grenade_launcher_y          = 24
        launch_speed                = 0
        
        hit_impulse                 = 25
        hit_power                   = 0.46, 0.46, 0.46, 0.46
        hit_type                    = fire_wound
        fire_distance               = 500
        bullet_speed                = 480
        rpm                         = 880
        rpm_empty_click             = 200
        ap_modifier                 = 1.1
        
        use_aim_bullet              = false
        time_to_aim                 = 0.0 ;  3.0
        zoom_dof                    = 0.5, 1.0, 180
        zoom_enabled                = true
        zoom_rotate_time            = 0.25
        reload_dof                  = 0.0, 0.5, 5, 2
control_inertion_factor = 1.0f
        crosshair_inertion          = 5.3
        fire_dispersion_base        = 0.65
        fire_dispersion_condition_factor = 0.001
        
        misfire_probability         = 0.005
        misfire_start_condition     = 0.7 ;  0.7
        misfire_start_prob          = 0.005
        misfire_end_condition       = 0.2
        misfire_end_prob            = 0.02
        
        condition_queue_shot_dec    = 0.0006
        condition_shot_dec          = 0.0006
        
        cam_return                  = 0
        cam_relax_speed             = 5
        cam_dispersion              = 0.72
        cam_dispersion_frac         = 1.0
        cam_dispersion_inc          = 0.0375
        cam_max_angle               = 39.0
        cam_max_angle_horz          = 39.0
        cam_step_angle_horz         = 1.8
        zoom_cam_relax_speed        = 10
        zoom_cam_dispersion         = 0.56
        zoom_cam_dispersion_frac    = 0.7
        zoom_cam_dispersion_inc     = 0.0275
        zoom_cam_max_angle          = 32.0
        zoom_cam_max_angle_horz     = 32.0
        zoom_cam_step_angle_horz    = 1.7
        
        PDM_disp_accel_factor       = 1.855
        PDM_disp_base               = 0.75
        PDM_disp_crouch             = 1.0
        PDM_disp_crouch_no_acc      = 1.0
        PDM_disp_vel_factor         = 1.855
        
        cam_relax_speed_ai          = 120.75
        zoom_cam_relax_speed_ai     = 120.75
        holder_fov_modifier         = 1.0
        holder_range_modifier       = 1.0
        min_radius                  = 0
        max_radius                  = 500
        hit_probability_gd_novice   = 1.00
        hit_probability_gd_stalker  = 1.00
        hit_probability_gd_veteran  = 1.00
        hit_probability_gd_master   = 1.00
        
        kill_msg_x                  = 72
        kill_msg_y                  = 82
        kill_msg_width              = 56
        kill_msg_height             = 23
 

[wpn_ppsh41_hud]:hud_base
        item_visual                 = anomaly_weapons\wpn_ppsh41\wpn_ppsh41_hud.ogf
        attach_place_idx            = 0
        zoom_hide_crosshair         = true
        
        item_position               = 0, 0, 0
        item_orientation            = 0, 0, 0
        
        hands_position              = -0.14, -0.15, 0.05
        hands_position_16x9         = -0.14, -0.15, 0.05
        hands_orientation           = 2, 2, 0
        hands_orientation_16x9      = 2, 2, 0
        
        aim_hud_offset_pos          = -0.08528, 0.0542, -0.18
        aim_hud_offset_pos_16x9     = -0.08528, 0.0542, -0.18
        aim_hud_offset_rot          = 0.034, 0.0351, 0
        aim_hud_offset_rot_16x9     = 0.034, 0.0351, 0
        
        anm_hide                    = pepesza_holster
        anm_idle                    = pepesza_idle
        anm_idle_aim                = pepesza_idle_aim
        anm_idle_aim_moving         = pepesza_idle_moving, idle, 0.75
        anm_idle_aim_moving_crouch  = pepesza_idle_moving, idle, 0.7
        anm_idle_moving             = pepesza_idle_moving
        anm_idle_sprint             = pepesza_idle_sprint
        anm_reload                  = pepesza_reload, reload
        anm_shots                   = pepesza_shoot, shoot
        anm_show                    = pepesza_draw
        
        shell_bone                  = wpn_body
        shell_dir                   = 0, 1, 0
        shell_point                 = 0, 0, 0
        
        fire_bone                   = muzzle
        fire_point                  = 0, 0, 0
 
;------------------------------------------------------------------------------------------------
[wpn_ppsh41_rednew]:wpn_ppsh41
        inv_grid_x                  = 65
        inv_name                    = st_wpn_ppsh41_camo
        inv_name_short              = st_wpn_ppsh41_camo
        
        inv_weight                  = 3.6
        cost                        = 20580
        
        hud                         = wpn_ppsh41_rednew_hud
        visual                      = dynamics\weapons\wpn_ppsh41\wpn_ppsh41_sk3.ogf
        
        rpm                         = 880
        
        fire_dispersion_base        = 0.53
        
        misfire_start_condition     = 0.7 ;  0.69
        misfire_start_prob          = 0.003
        misfire_end_condition       = 0.048
        misfire_end_prob            = 0.02
        
        condition_queue_shot_dec    = 0.000665
        condition_shot_dec          = 0.000665
 

[wpn_ppsh41_rednew_hud]:wpn_ppsh41_hud
        item_visual                 = anomaly_weapons\wpn_ppsh41\wpn_ppsh41_sk3_hud.ogf
 
;------------------------------------------------------------------------------------------------
[wpn_ppsh41_woodnew]:wpn_ppsh41
        inv_grid_x                  = 55
        inv_name                    = st_wpn_ppsh41_new
        inv_name_short              = st_wpn_ppsh41_new
        
        inv_weight                  = 3.65
        cost                        = 18180
        
        hud                         = wpn_ppsh41_woodnew_hud
        visual                      = dynamics\weapons\wpn_ppsh41\wpn_ppsh41_sk1.ogf
        
        rpm                         = 900
        
        fire_dispersion_base        = 0.58
        
        misfire_start_condition     = 0.7 ;  0.74
        misfire_start_prob          = 0.003
        misfire_end_condition       = 0.05
        misfire_end_prob            = 0.02
        
        condition_queue_shot_dec    = 0.00065
        condition_shot_dec          = 0.00065
 

[wpn_ppsh41_woodnew_hud]:wpn_ppsh41_hud
        item_visual                 = anomaly_weapons\wpn_ppsh41\wpn_ppsh41_sk1_hud.ogf
 
